feat(frontend): responsive grid layout scaffold for bounties#327
Open
armorbreak001 wants to merge 1 commit intoGalactiGuild:mainfrom
Open
feat(frontend): responsive grid layout scaffold for bounties#327armorbreak001 wants to merge 1 commit intoGalactiGuild:mainfrom
armorbreak001 wants to merge 1 commit intoGalactiGuild:mainfrom
Conversation
- Add BountyGrid.tsx with CSS Grid responsive breakpoints (1/2/3/4 cols) - Mobile: 1 col, Tablet: 2 cols, Desktop: 3 cols, Wide: 4 cols - Uses gap-6 for consistent spacing - Export from bounty component index
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #289
Summary
Added
BountyGrid.tsx— a generic CSS Grid wrapper component that provides responsive column layouts for bounty cards across all screen sizes.Changes
frontend/src/components/bounty/BountyGrid.tsx— New component using Tailwind CSS Grid:grid-cols-1on mobile (< 640px)md:grid-cols-2on tablet (≥ 768px)lg:grid-cols-3on desktop (≥ 1024px)xl:grid-cols-4on wide screens (≥ 1280px)gap-6for consistent spacing between cardsfrontend/src/components/bounty/index.ts— ExportBountyGridUsage Example
Verification
<BountyCard>items with<BountyGrid>gap-6= 1.5rem)